gempy.create_geomodel

gempy.create_geomodel(*, project_name: str = 'default_project', extent: list | ndarray | None = None, resolution: list | ndarray | None = None, refinement: int = 1, structural_frame: StructuralFrame | None = None, importer_helper: ImporterHelper | None = None) GeoModel[source]

Creates a GeoModel instance.

This function initializes a GeoModel object, including its grid and interpolation options.

Parameters:
  • project_name (str, optional) – The name of the project. Defaults to ‘default_project’.

  • extent (Union[list, ndarray], optional) – The 3D extent of the grid. Defaults to None.

  • resolution (Union[list, ndarray], optional) – The resolution of the grid. Defaults to None.

  • refinement (int, optional) – Defaults to 1.

  • structural_frame (StructuralFrame, optional) – The structural frame of the GeoModel. Defaults to None.

  • importer_helper (ImporterHelper, optional) – Helper object to import structural elements. Defaults to None.

Returns:

The initialized GeoModel object.

Return type:

GeoModel

Examples using gempy.create_geomodel

2.1 Forward Gravity: Simple example

2.1 Forward Gravity: Simple example